package com.jjb.www.ui.adapter;

import android.content.Context;
import android.view.ViewGroup;

import androidx.annotation.NonNull;

import com.hjq.shape.view.ShapeImageView;
import com.hjq.shape.view.ShapeTextView;
import com.hjq.widget.layout.WrapRecyclerView;
import com.jjb.www.R;
import com.jjb.www.app.AppAdapter;

/**
 *    author : Android CRG
 *    github : https://github.com/getActivity/AndroidProject
 *    time   : 2018/11/05
 *    desc   : 可进行拷贝的副本
 */
public final class OnDemand3Adapter extends AppAdapter<String> {

    public OnDemand3Adapter(Context context) {
        super(context);
    }

    @NonNull
    @Override
    public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
        return new ViewHolder();
    }

    private final class ViewHolder extends AppAdapter<?>.ViewHolder {

        private ShapeTextView mTvName;
        private ShapeTextView mTvContent;
        private ShapeTextView mTvLock;


        private ViewHolder() {
            super(R.layout.item_on_demand3);
            mTvName = findViewById(R.id.tv_name);
            mTvContent = findViewById(R.id.tv_content);
            mTvLock = findViewById(R.id.tv_lock);
        }

        @Override
        public void onBindView(int position) {

        }
    }
}